/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.wishlist-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.wishlist-container h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}

.wishlist-loading {
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
  color: #666;
}

.wishlist-empty {
  text-align: center;
  padding: 3rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wishlist-empty p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.browse-products-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.browse-products-btn:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wishlist-item {
  display: flex;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.wishlist-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
}

.wishlist-info {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wishlist-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.wishlist-name:hover {
  color: #4CAF50;
}

.wishlist-price {
  font-size: 1.1rem;
  color: #e63946;
  font-weight: bold;
  margin-bottom: 1rem;
}

.remove-from-wishlist {
  align-self: flex-start;
  background-color: #f44336;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remove-from-wishlist:hover {
  background-color: #d32f2f;
}

@media (max-width: 600px) {
  .wishlist-item {
    flex-direction: column;
  }
  
  .wishlist-image {
    width: 100%;
    height: 200px;
  }
}